import {
	ajax
} from "../utils/request.js"

// 添加地址
export function check_retail_addr(data) {
	return ajax({
		url: `api.php?m=Api&c=Order&a=check_retail_addr`,
		method: 'POST',
		data
	})
}

// 立即购买下单
export function buy_retail(data) {
	return ajax({
		url: `api.php?m=Api&c=Order&a=buy_retail`,
		method: 'POST',
		data
	})
}

